package com.chaoyi.dao.mysql;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.chaoyi.model.Appointment;

public interface AppointmentMapper {

	List<Appointment> findList(@Param("pageStat")String offset,@Param("pageStop")String limit);

	int findCount();

	int saveAppointment(@Param("appointment")Appointment appointment);

	Appointment findAppointmentOne(@Param("id")int id);

	int alertAppointmentSave(@Param("appointment")Appointment appointment);

	int deleteAppointment(@Param("id")int id);

}
